

define(function(require,exports,module){

	function Main(jqObj,loadParams){

	var columns = [[
		{field:'fireDate',title:'处警日期',editor:{required:true}},
		{field:'remark',title:'备注',editor:{}},
		{field:'fireOrg',title:'消防队',editor:{required:true}},
		{field:'fireMan',title:'消防员',editor:{required:true}},
		{field:'recordId',title:'主键',hidden:true},
		{field:'fireAjbh',title:'案件编号',editor:{required:true}},
		{field:'fireCar',title:'消防车',editor:{required:true}}
	]];
	var formDialog = {
		title:'',
		height:350,
		formEx:{
			url:'fire/firecaserecord/save.do'
		}
	}

	var MainUI = {
		eName:'datagrid',
		idField:'recordId',
		url:'fire/firecaserecord/json.do',
		delUrl:'fire/firecaserecord/del.do',
		columns:columns,
		formDialog:formDialog
	}

	jqObj.createUI(MainUI);

}
	module.exports = Main;

});
